package com.hmall.user.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_role_permissions
 */
@TableName(value ="sys_role_permissions")
@Data
public class SysRolePermissions implements Serializable {
    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 权限id
     */
    private Integer permissionId;

    /**
     * 关联时间
     */
    private LocalDateTime grantedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}